package com.education.welco.mapper;

import com.education.welco.pojo.StudyResoursesDetail;
import org.springframework.stereotype.Repository;

/**
* @author zcp
* @description 针对表【study_resourses_detail(学生学习资源时长统计表)】的数据库操作Mapper
* @createDate 2022-10-24 11:01:09
* @Entity
*/
@Repository
public interface StudyResoursesDetailMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(StudyResoursesDetail record);

    int insertSelective(StudyResoursesDetail record);

    StudyResoursesDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StudyResoursesDetail record);

    int updateByPrimaryKey(StudyResoursesDetail record);

    Integer getTopCatalogId(Integer catalogId);

    StudyResoursesDetail selectByParam(StudyResoursesDetail studyResoursesDetail);
}
